package com.woniu.common.dao;

import com.woniu.common.entity.JpDepartment;
import com.woniu.common.entity.JpDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JpDepartmentDao {
    long countByExample(JpDepartmentExample example);

    int deleteByExample(JpDepartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JpDepartment record);

    int insertSelective(JpDepartment record);

    List<JpDepartment> selectByExample(JpDepartmentExample example);

    JpDepartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JpDepartment record, @Param("example") JpDepartmentExample example);

    int updateByExample(@Param("record") JpDepartment record, @Param("example") JpDepartmentExample example);

    int updateByPrimaryKeySelective(JpDepartment record);

    int updateByPrimaryKey(JpDepartment record);
}